package com.examination.system.administrator.dao;

import com.examination.system.administration.AreaType;
import com.examination.system.administration.response.DeleteAdministrationResult;
import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * @author 寇淇芮
 * @Date 2019/8/27 21:19
 */
@Mapper
@ResponseBody
public interface AreaTypeMapper {
    @Select("SELECT * FROM area_type")
    Page<AreaType> findAreaTyp();
    @Delete("DELETE FROM area_type WHERE id = #{id}")
    Integer delectById(@Param("id") String id);
}
